var express = require('express');
const multer = require('multer')
const upload = multer({ dest: 'public/uploads/' })

var centerController = require('../controllers/centerController');
var router = express.Router();

router.post('/adminapi/center/:roleType/:id/upload', upload.single('file'), centerController.upload);

module.exports = router;